#include "Student.h"
#include <stdio.h>
#include <string.h>
void PrintStu(const Stu *s)
{ // 结构体指针访问变量用箭头
    printf("名字：%s 学号：%d 年龄：%d 分数：%.1lf\n", s->name, s->id, s->age, s->score);
}
void SetstuValue(Stu *s, const char *name, int id, int age, double score)
{
    s->id = id;
    s->age = age;
    s->score = score;
    strcpy(s->name, name);
}
